﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Section01.ascx.vb" Inherits="Control_MSDS_Section01" %>

<asp:UpdatePanel ID="uplCauhoi1" runat="server">
	<ContentTemplate>
		<div id="generate">
			<div style="clear: both; height: 20px"></div>
			<div class="BoxField">
				<div class="HeadTitle">
					<h3>
						<asp:Label ID="lblSection01Title" runat="server" Text="Session1: Chemical and Company Identification" /></h3>
				</div>
				<div class="DivRequired">
					<span class="fieldRequired">&nbsp;</span><asp:Label ID="lbSection01Required" runat="server" Text="Field required value" />
				</div>
				<div class="Error">
					<asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
				</div>
				<div style="clear: both; height: 20px">
				</div>
				<div class="DivQ11">
					<div class="DivRequired" style="font-weight: bold">
						<asp:Label ID="lbSection01Chemical" CssClass="TextLabel" runat="server" Text="Chemical Identification: " />
					</div>
					<div style="clear: both; height: 10px">
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01lTradeName" CssClass="TextLabel" runat="server" Text="Trade Name: " />
							<span class="fieldRequired">&nbsp;</span>
						</div>
						<div class="DivTextBox">
							<asp:TextBox ID="txtS101" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							<asp:RequiredFieldValidator ID="rfvSection011" runat="server" ControlToValidate="txtS101"
								Display="None" ErrorMessage="Please enter Trade Name" SetFocusOnError="True" />
						</div>
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01lChemicaleName" CssClass="TextLabel" runat="server" Text="Chemical Name: " />
						</div>
						<div class="DivTextBox">
							<asp:TextBox ID="txtS102" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
						</div>
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01lSynonyms" CssClass="TextLabel" runat="server" Text="Synonyms:" />
						</div>
						<div class="DivTextBox">
							<asp:TextBox ID="txtS103" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
						</div>
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01CasNo" CssClass="TextLabel" runat="server" Text="CAS No:" />
						</div>
						<div class="DivTextBox">
							<div style="float: left; width: 100px">
								<asp:TextBox ID="txtS104" CssClass="TextBox " Width="95px" runat="server" Text="" />
							</div>
							<div style="float: left; padding-left: 10px; width: 85px;">
								<asp:Label ID="lbSection01ECNo" CssClass="TextLabel" runat="server" Text="EC No:" />
							</div>
							<div style="float: left; width: 100px">
								<asp:TextBox ID="txtS105" CssClass="TextBox " Width="95px" runat="server" Text="" />
							</div>
						</div>
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01UNNo" CssClass="TextLabel" runat="server" Text="UN No:" />
						</div>
						<div class="DivTextBox">
							<div style="float: left; width: 100px">
								<asp:TextBox ID="txtS106" CssClass="TextBox " Width="95px" runat="server" Text="" />
							</div>
							<div style="float: left; padding-left: 10px; width: 85px;">
								<asp:Label ID="lbSection01ProducCode" CssClass="TextLabel" runat="server" Text="Product code:" />
							</div>
							<div style="float: left; width: 100px">
								<asp:TextBox ID="txtS107" CssClass="TextBox " Width="95px" runat="server" Text="" />
							</div>
						</div>
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01User" CssClass="TextLabel" runat="server" Text="User:" />
							
						</div>
						<div class="DivTextBox">
							<asp:TextBox ID="txtS108" CssClass="TextBox" runat="server" Text="" TextMode="MultiLine" Rows="6" ClientIDMode="Static" />
							
						</div>
					</div>
				</div>
				<div class="DivQ12">
					<div class="DivRequired" style="font-weight: bold !important;">
						<asp:Label ID="lbSection01Manufacturer" CssClass="TextLabel" runat="server" Text="Manufacturer Identification: " />
					</div>
					<div style="clear: both; height: 10px">
					</div>
					<div class="Div-Left">
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01Mname" CssClass="TextLabel" runat="server" Text="Name: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS201" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01MAddress" CssClass="TextLabel" runat="server" Text="Address: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS203" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01MPhone" CssClass="TextLabel" runat="server" Text="Phone: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS205" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
					</div>
					<div class="Div-Right">
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01MFax" CssClass="TextLabel" runat="server" Text="Fax: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS202" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01MEmail" CssClass="TextLabel" runat="server" Text="Email: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS204" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01MWebsite" CssClass="TextLabel" runat="server" Text="Website: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS206" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
					</div>
				</div>
                <div style="clear: both; height: 10px">
				</div>
				<div class="DivQ13">
					<div class="DivRequired" style="font-weight: bold; clear:left">
						<asp:Label ID="lbSection01Supplier" CssClass="TextLabel" runat="server" Text="Supplier Identification: " />
					</div>
					<div style="clear: both; height: 10px">
					</div>
					<div class="Div-Left">
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01Sname" CssClass="TextLabel" runat="server" Text="Name: " />
								<span class="fieldRequired">&nbsp;</span>
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS301" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
								<asp:RequiredFieldValidator ID="rfvSection013" runat="server" ControlToValidate="txtS301"
									Display="None" ErrorMessage="Please enter Name." SetFocusOnError="True" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01SAddress" CssClass="TextLabel" runat="server" Text="Address: " />
								<span class="fieldRequired">&nbsp;</span>
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS303" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
								<asp:RequiredFieldValidator ID="rfvSection014" runat="server" ControlToValidate="txtS303"
									Display="None" ErrorMessage="Please enter Address." SetFocusOnError="True" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01SPhone" CssClass="TextLabel" runat="server" Text="Phone: " />
								
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS305" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
		
							</div>
						</div>
					</div>
					<div class="Div-Right">
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01SFax" CssClass="TextLabel" runat="server" Text="Fax: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS302" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01SEmail" CssClass="TextLabel" runat="server" Text="Email: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS304" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
						<div class="DivRow">
							<div class="DivLabel">
								<asp:Label ID="lbSection01SWebsite" CssClass="TextLabel" runat="server" Text="Website: " />
							</div>
							<div class="DivTextBox">
								<asp:TextBox ID="txtS306" CssClass="TextBox" runat="server" Text="" ClientIDMode="Static" />
							</div>
						</div>
					</div>
					<div class="DivRow">
						<div class="DivLabel">
							<asp:Label ID="lbSection01Emergency" CssClass="TextLabel" runat="server" Text="Emergency Contact: " />
						</div>
						<div class="DivTextBox">
							<asp:TextBox ID="txtS307" CssClass="TextBox" runat="server" Text="" Width="691px" TextMode="MultiLine" Rows="6" ClientIDMode="Static" />
						</div>
					</div>
				</div>
			</div>
			<div class="DivRow">
				<div class="DivLabel">
					&nbsp;&nbsp;&nbsp;
				</div>
				<div class="DivTextBox">
					<div style="float: left; padding-top: 10px;">
						<asp:Button ID="btnSection01Save" runat="server" Text=" Save- Next " CssClass="btn" CausesValidation="true"
							CommandArgument="" />
						&nbsp; &nbsp;<%--<asp:Button ID="btnReset" runat="server" CausesValidation="false" CssClass="btn"
							Text="Previous" OnClientClick="location.reload();" />--%>
					</div>
					<div style="float: right; text-align: right;display:none">
						&nbsp;<asp:ImageButton ID="btnSEctionBack" ImageAlign="AbsMiddle" ToolTip="Back" runat="server" ImageUrl="~/images/back.png" />
					</div>
				</div>
			</div>
			<div style="display: none">
				<asp:HiddenField ID="hidMSDSID" Value="0" runat="server" />
				<asp:HiddenField ID="hidID" Value="0" runat="server" />
			</div>
		</div>
	</ContentTemplate>
</asp:UpdatePanel>
<script type="text/javascript">
	function ajaxJquery() {
		// focus textbox first
		$(".TextBox:first").focus();
	}
</script>
